﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
namespace="DemoNHibernate.Domain" assembly="DemoNHibernate">
  <class name="Employe" table="EMPLOYES">
    <id name="Id" column="ID">
      <generator class="guid" />
    </id>
    <version name="Version" column="VERSION"/>
    <property name="SS" column="SS"/>
    <property name="Nom" column="NOM"/>
    <property name="Prenom" column="PRENOM"/>
    <property name="Adresse" column="ADRESSE"/>
    <property name="Ville" column="VILLE"/>
    <property name="CodePostal" column="CP"/>
    <many-to-one name="Indemnites" column="INDEMNITE_ID" cascade="save-update" lazy="false"/>
  </class>
</hibernate-mapping>
